package junit.moreInstance;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;

class TeacherTest {

    @Test
    void getInstance() {
        for (int i = 0; i < 10; i++) {
            Teacher instance = Teacher.getInstance();
            System.out.println(instance);
        }
    }
}